A procedure is a section
of code that is separate from the rest of the main body. It can
be called from other points in the code in order to execute it.
e.g.
' Main
Body of the code
...
HandleOutput()
...
' Procedure
Definition
Procedure HandleOutput()
...
End
Proc
In this
example, the code that is written inside the body of HandleOutput will be executed
at the point from where it is called.
The procedure
definition must be placed after the end of the main body of code.